<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="jstl" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String realPath = this.getServletContext().getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改文章-${info.title }</title>
<script src="http://tinymce.cachefly.net/4.1/tinymce.min.js"></script>

<script type="text/javascript"
	src="<%=realPath%>/resources/js/web/article/add.js">

</script>
<jsp:include page='<%="/header"%>' />
</head>
<body>
	<form action="" method="post">
		<input name="title" value="${info.title }">
		<textarea name="articleContent.content">${info.articleContent.content }</textarea>
		选择类别：<select name="type.typeId">
		<jstl:forEach items="${types }" var="type">
			<option value="${type.typeId }">${type.title }</option>
		</jstl:forEach>
		</select><br />选择标签：
		<jstl:forEach items="${lables }" var="lable" varStatus="status">
		${lable.title }<input type="checkbox"
				name="lables[${status.index }].lableId" value="${lable.lableId }" />
		</jstl:forEach>
		<input type="submit" value="提交" />
	</form>
	<jsp:include page='<%="/footer"%>' />
</body>
</html>